﻿using MiniFox.Resources;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;

namespace Sys.Core.Models.Dto
{
    public class CommitVersionDto
    {
        [Required(ErrorMessageResourceType = typeof(CommonMessages), ErrorMessageResourceName = "MSG_CommonRequired")]
        [JsonProperty("widgetId")]
        public string WidgetID { get; set; }

        [JsonProperty("comment")]
        public string? Comment { get; set; }
    }
}
